<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Osmap: /home/alejandro/Development/osmap/include/osmap.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Osmap
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">Osmap documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,'Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('osmap_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">osmap.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="osmap_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#ifndef OSMAP_H_</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#define OSMAP_H_</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">//#include &lt;string&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;set&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;bitset&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;iterator&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &quot;osmap.pb.h&quot;</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;set&gt;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &lt;opencv2/core.hpp&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#ifdef OSMAP_DUMMY_MAP</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">// Don&#39;t include when porting osmap to os1 and orb-slam2</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;dummymap.h&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">// Only for use with OrbSlam2</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &quot;KeyFrame.h&quot;</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &quot;Map.h&quot;</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &quot;MapPoint.h&quot;</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &quot;System.h&quot;</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#include &quot;Frame.h&quot;</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#include &quot;System.h&quot;</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &quot;Tracking.h&quot;</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="namespace_o_r_b___s_l_a_m2.html">   51</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_o_r_b___s_l_a_m2.html">ORB_SLAM2</a>{</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">//#ifndef OSMAP_DUMMY_MAP</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap_map_point.html">   59</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_map_point.html">OsmapMapPoint</a>: <span class="keyword">public</span> MapPoint{</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap_map_point.html#a470c4591b260ceb4969f62b7fb06e047">   61</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html">Osmap</a>;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_map_point.html#a025ba6183bae4f36ba3592889d5e7455">OsmapMapPoint</a>(<a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html">Osmap</a>*);</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;};</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap_key_frame.html">   69</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_key_frame.html">OsmapKeyFrame</a>: <span class="keyword">public</span> KeyFrame{</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap_key_frame.html#a470c4591b260ceb4969f62b7fb06e047">   71</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html">Osmap</a>;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_key_frame.html">OsmapKeyFrame</a>(<a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html">Osmap</a>*);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;};</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment">//#endif</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap_map.html">   82</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_map.html">OsmapMap</a>: <span class="keyword">public</span> Map{</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap_map.html#a470c4591b260ceb4969f62b7fb06e047">   84</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html">Osmap</a>;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;};</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="preprocessor">#ifndef FEATURES_MESSAGE_LIMIT</span></div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="osmap_8h.html#a6fa32a12b36ce9efd1599107f175e685">   95</a></span>&#160;<span class="preprocessor">#define FEATURES_MESSAGE_LIMIT 1000000</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacecv.html">cv</a>;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html">  138</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html">Osmap</a>{</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  <span class="comment">// Properties</span></div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14">  171</a></span>&#160;  <span class="keyword">enum</span> <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14">Options</a> {</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;      <span class="comment">// Delimited to overcome a Protocol Buffers limitation.  It is automatic, but can be forced with this options:</span></div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a792bd0166760f264fbc5e712ca761304">  173</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a792bd0166760f264fbc5e712ca761304">FEATURES_FILE_DELIMITED</a>,  </div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14aad2b1cf5a240398f9693b13a9c89d897">  174</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14aad2b1cf5a240398f9693b13a9c89d897">FEATURES_FILE_NOT_DELIMITED</a>,  </div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;      <span class="comment">// Skip files, for analisys propuses</span></div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a63f91ef2f48c989bbf17dc1c77b6f4cb">  177</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a63f91ef2f48c989bbf17dc1c77b6f4cb">NO_MAPPOINTS_FILE</a>,    </div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a1e1ea3481969f2bb342d92e6e5bacfd9">  178</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a1e1ea3481969f2bb342d92e6e5bacfd9">NO_KEYFRAMES_FILE</a>,    </div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14aa12ececbcc11af24abb2ce64eb1b9e11">  179</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14aa12ececbcc11af24abb2ce64eb1b9e11">NO_FEATURES_FILE</a>,     </div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;      <span class="comment">// Shrink file</span></div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a22c87295de75c5b37640e448d49cd310">  182</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a22c87295de75c5b37640e448d49cd310">NO_FEATURES_DESCRIPTORS</a>,  </div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a71f88906a07e590c7afff343772d5216">  183</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a71f88906a07e590c7afff343772d5216">ONLY_MAPPOINTS_FEATURES</a>,  </div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;      <span class="comment">// Options</span></div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a435cddba27465be7ce27a63bba406418">  186</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a435cddba27465be7ce27a63bba406418">NO_LOOPS</a>,         </div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a738c75f214fad836ffad2865e70b52af">  187</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a738c75f214fad836ffad2865e70b52af">K_IN_KEYFRAME</a>,    </div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;      <span class="comment">// Depuration and rebuild options</span></div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a8999f0e05e6d9d6abaadbfbec63d0655">  190</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a8999f0e05e6d9d6abaadbfbec63d0655">NO_DEPURATION</a>,    </div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14aab9ddda14f4139f2da437830586c3fd9">  191</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14aab9ddda14f4139f2da437830586c3fd9">NO_SET_BAD</a>,       </div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a1f9502ef0ac4f2a262736f6ee5ce61db">  192</a></span>&#160;      <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a1f9502ef0ac4f2a262736f6ee5ce61db">NO_APPEND_FOUND_MAPPOINTS</a>,    </div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14ad1ba80ebae75fcc0d8e017113cd2069d">  194</a></span>&#160;      OPTIONS_SIZE  <span class="comment">// /*!&lt; Number of options.  Not an option. */</span></div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;  };</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a928cfe547ef3b6412c2187b0fe6158fd">  200</a></span>&#160;  bitset&lt;32&gt; options = 0;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#af20d340d42dbbf52a27f402eaea94159">  203</a></span>&#160;  <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_map.html">OsmapMap</a> &amp;<a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#af20d340d42dbbf52a27f402eaea94159">map</a>;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a98e3356161b97db5aa4b853e2f44db60">  206</a></span>&#160;  KeyFrameDatabase &amp;<a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a98e3356161b97db5aa4b853e2f44db60">keyFrameDatabase</a>;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ade81b1dd7b95ce892811cd6e51d0a4ca">  209</a></span>&#160;  System &amp;<a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ade81b1dd7b95ce892811cd6e51d0a4ca">system</a>;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a99801213d8fe491882fce5fd7f5d5de1">  212</a></span>&#160;  Frame &amp;<a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a99801213d8fe491882fce5fd7f5d5de1">currentFrame</a>;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#addf599a8a94d9ab35dd91d7f99506e5a">  223</a></span>&#160;  KeyFrame *pRefKF = NULL;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#aaad25be4fda815329eacf02c11050293">  230</a></span>&#160;  vector&lt;Mat*&gt; <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#aaad25be4fda815329eacf02c11050293">vectorK</a>;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ae98cf2d63ca3885a38867307e9ca2bc2">  237</a></span>&#160;  vector&lt;unsigned int&gt; <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ae98cf2d63ca3885a38867307e9ca2bc2">keyframeid2vectork</a>;</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;</div><div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a39c934d185750067f4eeb87bbe494bbb">  245</a></span>&#160;  vector&lt;OsmapMapPoint*&gt; <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a39c934d185750067f4eeb87bbe494bbb">vectorMapPoints</a>;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a63f25a3baf53d9a37db367363f0781f5">  251</a></span>&#160;  vector&lt;OsmapKeyFrame*&gt; <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a63f25a3baf53d9a37db367363f0781f5">vectorKeyFrames</a>;</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;  <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_map_point.html#a470c4591b260ceb4969f62b7fb06e047">Osmap</a>(System &amp;_system);</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;  <span class="keywordtype">void</span> mapSave(<span class="keywordtype">string</span> basefilename);</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;  <span class="keywordtype">void</span> mapLoad(<span class="keywordtype">string</span> yamlFilename);</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;  <span class="keywordtype">int</span> MapPointsSave(<span class="keywordtype">string</span> filename);</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;  <span class="keywordtype">int</span> MapPointsLoad(<span class="keywordtype">string</span> filename);</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;  <span class="keywordtype">int</span> KeyFramesSave(<span class="keywordtype">string</span> filename);</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;  <span class="keywordtype">int</span> KeyFramesLoad(<span class="keywordtype">string</span> filename);</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;  <span class="keywordtype">int</span> featuresSave(<span class="keywordtype">string</span> filename);</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;  <span class="keywordtype">int</span> featuresLoad(<span class="keywordtype">string</span> filename);</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;  <span class="keywordtype">void</span> getMapPointsFromMap();</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;  <span class="keywordtype">void</span> setMapPointsToMap();</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;  <span class="keywordtype">void</span> getKeyFramesFromMap();</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;  <span class="keywordtype">void</span> setKeyFramesToMap();</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;  <span class="keywordtype">void</span> depurate();</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;  <span class="keywordtype">void</span> rebuild();</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;  <span class="keywordtype">void</span> clearVectors();</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;</div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;  <span class="keywordtype">void</span> getVectorKFromKeyframes();</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;  MapPoint *getMapPoint(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;  <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_key_frame.html">OsmapKeyFrame</a> *getKeyFrame(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;  <span class="keywordtype">int</span> countFeatures();</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;  <span class="comment">// Protocol buffer messages serialization for orb-slam2 objects</span></div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;  <span class="comment">// K matrix ====================================================================================================</span></div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;</div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;  <span class="keywordtype">void</span> serialize(<span class="keyword">const</span> Mat &amp;k, SerializedK *serializedK);</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;  <span class="keywordtype">void</span> deserialize(<span class="keyword">const</span> SerializedK&amp;, Mat&amp; k);</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;</div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;  <span class="keywordtype">void</span> serialize(<span class="keyword">const</span> vector&lt;Mat*&gt; &amp;vK, SerializedKArray &amp;serializedKArray);</div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;</div><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;  <span class="keywordtype">void</span> deserialize(<span class="keyword">const</span> SerializedKArray &amp;serializedKArray, vector&lt;Mat*&gt; &amp;vK);</div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;  <span class="comment">// Descriptor ====================================================================================================</span></div><div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;</div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;  <span class="keywordtype">void</span> serialize(<span class="keyword">const</span> Mat&amp;, SerializedDescriptor*);</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;</div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;  <span class="keywordtype">void</span> deserialize(<span class="keyword">const</span> SerializedDescriptor&amp;, Mat&amp;);</div><div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;</div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;</div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;</div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;  <span class="comment">// Pose matrix ====================================================================================================</span></div><div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;</div><div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;  <span class="keywordtype">void</span> serialize(<span class="keyword">const</span> Mat&amp;, SerializedPose*);</div><div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;</div><div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;  <span class="keywordtype">void</span> deserialize(<span class="keyword">const</span> SerializedPose&amp;, Mat&amp;);</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;</div><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;  <span class="comment">// Position vector ====================================================================================================</span></div><div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;</div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;  <span class="keywordtype">void</span> serialize(<span class="keyword">const</span> Mat&amp;, SerializedPosition*);</div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;</div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;  <span class="keywordtype">void</span> deserialize(<span class="keyword">const</span> SerializedPosition&amp;, Mat&amp;);</div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;</div><div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;</div><div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;  <span class="comment">// KeyPoint ====================================================================================================</span></div><div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;<span class="comment"></span>  <span class="keywordtype">void</span> serialize(<span class="keyword">const</span> KeyPoint&amp;, SerializedKeypoint*);</div><div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;</div><div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;  <span class="keywordtype">void</span> deserialize(<span class="keyword">const</span> SerializedKeypoint&amp;, KeyPoint&amp;);</div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;</div><div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;</div><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;</div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;</div><div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;</div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;</div><div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;  <span class="comment">// MapPoint ====================================================================================================</span></div><div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;</div><div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;  <span class="keywordtype">void</span> serialize(<span class="keyword">const</span> <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_map_point.html">OsmapMapPoint</a>&amp;, SerializedMappoint*);</div><div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;</div><div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;  <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_map_point.html">OsmapMapPoint</a> *deserialize(<span class="keyword">const</span> SerializedMappoint&amp; serializedMappoint);</div><div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;</div><div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;  <span class="keywordtype">int</span> serialize(<span class="keyword">const</span> vector&lt;OsmapMapPoint*&gt;&amp;, SerializedMappointArray &amp;);</div><div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;</div><div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;  <span class="keywordtype">int</span> deserialize(<span class="keyword">const</span> SerializedMappointArray &amp;, vector&lt;OsmapMapPoint*&gt;&amp;);</div><div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;</div><div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;</div><div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;</div><div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;  <span class="comment">// KeyFrame ====================================================================================================</span></div><div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;</div><div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;  <span class="keywordtype">void</span> serialize(<span class="keyword">const</span> <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_key_frame.html">OsmapKeyFrame</a>&amp;, SerializedKeyframe*);</div><div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;</div><div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;</div><div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;  <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_key_frame.html">OsmapKeyFrame</a> *deserialize(<span class="keyword">const</span> SerializedKeyframe&amp;);</div><div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;</div><div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;  <span class="keywordtype">int</span> serialize(<span class="keyword">const</span> vector&lt;OsmapKeyFrame*&gt;&amp;, SerializedKeyframeArray&amp;);</div><div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;</div><div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;  <span class="keywordtype">int</span> deserialize(<span class="keyword">const</span> SerializedKeyframeArray&amp;, vector&lt;OsmapKeyFrame*&gt;&amp;);</div><div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;</div><div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;</div><div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;</div><div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;  <span class="comment">// Feature ====================================================================================================</span></div><div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;</div><div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;  <span class="keywordtype">void</span> serialize(<span class="keyword">const</span> <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_key_frame.html">OsmapKeyFrame</a>&amp;, SerializedKeyframeFeatures*);</div><div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;</div><div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;  <a class="code" href="class_o_r_b___s_l_a_m2_1_1_osmap_key_frame.html">OsmapKeyFrame</a> *deserialize(<span class="keyword">const</span> SerializedKeyframeFeatures&amp;);</div><div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;</div><div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;  <span class="keywordtype">int</span> serialize(<span class="keyword">const</span> vector&lt;OsmapKeyFrame*&gt;&amp; vKF, SerializedKeyframeFeaturesArray&amp; serializedKeyframeFeaturesArray);</div><div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;</div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;  <span class="keywordtype">int</span> deserialize(<span class="keyword">const</span> SerializedKeyframeFeaturesArray&amp;);</div><div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;</div><div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;</div><div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;  <span class="keywordtype">bool</span> writeDelimitedTo(</div><div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;    <span class="keyword">const</span> google::protobuf::MessageLite&amp; message,</div><div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;    google::protobuf::io::ZeroCopyOutputStream* rawOutput</div><div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;  );</div><div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;</div><div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;  <span class="keywordtype">bool</span> readDelimitedFrom(</div><div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;    google::protobuf::io::ZeroCopyInputStream* rawInput,</div><div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;    google::protobuf::MessageLite* message</div><div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;  );</div><div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;};</div><div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;</div><div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;</div><div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;</div><div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;}   <span class="comment">// namespace ORB_SLAM2</span></div><div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;</div><div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* OSMAP_H_ */</span><span class="preprocessor"></span></div><div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_map_html"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap_map.html">ORB_SLAM2::OsmapMap</a></div><div class="ttdoc">Wrapped Map to let Osmap access protected properties without modifying Map code. </div><div class="ttdef"><b>Definition:</b> osmap.h:82</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14a792bd0166760f264fbc5e712ca761304"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a792bd0166760f264fbc5e712ca761304">ORB_SLAM2::Osmap::FEATURES_FILE_DELIMITED</a></div><div class="ttdef"><b>Definition:</b> osmap.h:173</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_a98e3356161b97db5aa4b853e2f44db60"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a98e3356161b97db5aa4b853e2f44db60">ORB_SLAM2::Osmap::keyFrameDatabase</a></div><div class="ttdeci">KeyFrameDatabase &amp; keyFrameDatabase</div><div class="ttdoc">Database of keyframes to be build after loading. </div><div class="ttdef"><b>Definition:</b> osmap.h:206</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_a39c934d185750067f4eeb87bbe494bbb"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a39c934d185750067f4eeb87bbe494bbb">ORB_SLAM2::Osmap::vectorMapPoints</a></div><div class="ttdeci">vector&lt; OsmapMapPoint * &gt; vectorMapPoints</div><div class="ttdoc">Buffer where map&amp;#39;s mappoints are stored in ascending id order, to save them to file in this order...</div><div class="ttdef"><b>Definition:</b> osmap.h:245</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_key_frame_html"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap_key_frame.html">ORB_SLAM2::OsmapKeyFrame</a></div><div class="ttdoc">Wrapped KeyFrame to let Osmap access protected properties without modifying KeyFrame code...</div><div class="ttdef"><b>Definition:</b> osmap.h:69</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_af20d340d42dbbf52a27f402eaea94159"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#af20d340d42dbbf52a27f402eaea94159">ORB_SLAM2::Osmap::map</a></div><div class="ttdeci">OsmapMap &amp; map</div><div class="ttdoc">ORB-SLAM2 map to be serialized. </div><div class="ttdef"><b>Definition:</b> osmap.h:203</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_map_point_html"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap_map_point.html">ORB_SLAM2::OsmapMapPoint</a></div><div class="ttdoc">Wrapped MapPoint to let Osmap access protected properties without modifying MapPoint code...</div><div class="ttdef"><b>Definition:</b> osmap.h:59</div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html">ORB_SLAM2::Osmap</a></div><div class="ttdoc">This is a class for a singleton attached to ORB-SLAM2&amp;#39;s map. </div><div class="ttdef"><b>Definition:</b> osmap.h:138</div></div>
<div class="ttc" id="namespacecv_html"><div class="ttname"><a href="namespacecv.html">cv</a></div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_aaad25be4fda815329eacf02c11050293"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#aaad25be4fda815329eacf02c11050293">ORB_SLAM2::Osmap::vectorK</a></div><div class="ttdeci">vector&lt; Mat * &gt; vectorK</div><div class="ttdoc">Usually there is only one common matrix K for all KeyFrames in the entire map, there can be more...</div><div class="ttdef"><b>Definition:</b> osmap.h:230</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14aad2b1cf5a240398f9693b13a9c89d897"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14aad2b1cf5a240398f9693b13a9c89d897">ORB_SLAM2::Osmap::FEATURES_FILE_NOT_DELIMITED</a></div><div class="ttdef"><b>Definition:</b> osmap.h:174</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14a8999f0e05e6d9d6abaadbfbec63d0655"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a8999f0e05e6d9d6abaadbfbec63d0655">ORB_SLAM2::Osmap::NO_DEPURATION</a></div><div class="ttdef"><b>Definition:</b> osmap.h:190</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14a1e1ea3481969f2bb342d92e6e5bacfd9"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a1e1ea3481969f2bb342d92e6e5bacfd9">ORB_SLAM2::Osmap::NO_KEYFRAMES_FILE</a></div><div class="ttdef"><b>Definition:</b> osmap.h:178</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14aab9ddda14f4139f2da437830586c3fd9"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14aab9ddda14f4139f2da437830586c3fd9">ORB_SLAM2::Osmap::NO_SET_BAD</a></div><div class="ttdef"><b>Definition:</b> osmap.h:191</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14a738c75f214fad836ffad2865e70b52af"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a738c75f214fad836ffad2865e70b52af">ORB_SLAM2::Osmap::K_IN_KEYFRAME</a></div><div class="ttdef"><b>Definition:</b> osmap.h:187</div></div>
<div class="ttc" id="namespace_o_r_b___s_l_a_m2_html"><div class="ttname"><a href="namespace_o_r_b___s_l_a_m2.html">ORB_SLAM2</a></div><div class="ttdoc">This file is part of OSMAP. </div><div class="ttdef"><b>Definition:</b> osmap.h:51</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_a99801213d8fe491882fce5fd7f5d5de1"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a99801213d8fe491882fce5fd7f5d5de1">ORB_SLAM2::Osmap::currentFrame</a></div><div class="ttdeci">Frame &amp; currentFrame</div><div class="ttdoc">Any frame, to copy configuration values from. </div><div class="ttdef"><b>Definition:</b> osmap.h:212</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_map_point_html_a470c4591b260ceb4969f62b7fb06e047"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap_map_point.html#a470c4591b260ceb4969f62b7fb06e047">ORB_SLAM2::OsmapMapPoint::Osmap</a></div><div class="ttdeci">friend class Osmap</div><div class="ttdef"><b>Definition:</b> osmap.h:61</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ae98cf2d63ca3885a38867307e9ca2bc2"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ae98cf2d63ca3885a38867307e9ca2bc2">ORB_SLAM2::Osmap::keyframeid2vectork</a></div><div class="ttdeci">vector&lt; unsigned int &gt; keyframeid2vectork</div><div class="ttdoc">For each index KeyFrame.mnId the value returned is an index to vectorK. </div><div class="ttdef"><b>Definition:</b> osmap.h:237</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_a63f25a3baf53d9a37db367363f0781f5"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#a63f25a3baf53d9a37db367363f0781f5">ORB_SLAM2::Osmap::vectorKeyFrames</a></div><div class="ttdeci">vector&lt; OsmapKeyFrame * &gt; vectorKeyFrames</div><div class="ttdoc">Buffer where map&amp;#39;s keyframes are stored in ascending id order, to save them to file in this order...</div><div class="ttdef"><b>Definition:</b> osmap.h:251</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14a435cddba27465be7ce27a63bba406418"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a435cddba27465be7ce27a63bba406418">ORB_SLAM2::Osmap::NO_LOOPS</a></div><div class="ttdef"><b>Definition:</b> osmap.h:186</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14a71f88906a07e590c7afff343772d5216"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a71f88906a07e590c7afff343772d5216">ORB_SLAM2::Osmap::ONLY_MAPPOINTS_FEATURES</a></div><div class="ttdef"><b>Definition:</b> osmap.h:183</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14aa12ececbcc11af24abb2ce64eb1b9e11"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14aa12ececbcc11af24abb2ce64eb1b9e11">ORB_SLAM2::Osmap::NO_FEATURES_FILE</a></div><div class="ttdef"><b>Definition:</b> osmap.h:179</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14a63f91ef2f48c989bbf17dc1c77b6f4cb"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a63f91ef2f48c989bbf17dc1c77b6f4cb">ORB_SLAM2::Osmap::NO_MAPPOINTS_FILE</a></div><div class="ttdef"><b>Definition:</b> osmap.h:177</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14a1f9502ef0ac4f2a262736f6ee5ce61db"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a1f9502ef0ac4f2a262736f6ee5ce61db">ORB_SLAM2::Osmap::NO_APPEND_FOUND_MAPPOINTS</a></div><div class="ttdef"><b>Definition:</b> osmap.h:192</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_map_point_html_a025ba6183bae4f36ba3592889d5e7455"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap_map_point.html#a025ba6183bae4f36ba3592889d5e7455">ORB_SLAM2::OsmapMapPoint::OsmapMapPoint</a></div><div class="ttdeci">OsmapMapPoint(Osmap *)</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14">ORB_SLAM2::Osmap::Options</a></div><div class="ttdeci">Options</div><div class="ttdoc">All the options available. </div><div class="ttdef"><b>Definition:</b> osmap.h:171</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ade81b1dd7b95ce892811cd6e51d0a4ca"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ade81b1dd7b95ce892811cd6e51d0a4ca">ORB_SLAM2::Osmap::system</a></div><div class="ttdeci">System &amp; system</div><div class="ttdoc">System, needed to populate new keyframes after construction on deserialization, with some configurati...</div><div class="ttdef"><b>Definition:</b> osmap.h:209</div></div>
<div class="ttc" id="class_o_r_b___s_l_a_m2_1_1_osmap_html_ad0c3627b8ca7468eb50dc38eb6ed2b14a22c87295de75c5b37640e448d49cd310"><div class="ttname"><a href="class_o_r_b___s_l_a_m2_1_1_osmap.html#ad0c3627b8ca7468eb50dc38eb6ed2b14a22c87295de75c5b37640e448d49cd310">ORB_SLAM2::Osmap::NO_FEATURES_DESCRIPTORS</a></div><div class="ttdef"><b>Definition:</b> osmap.h:182</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="osmap_8h.html">osmap.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
